var express = require('express');
var router = express.Router();
// const User = require('../models/user.model')

/* GET home page. */
router.get('/', function(res, req, next) {
    res.send('index');
});
router.get('/home', function(res, req, next) {
        res.render('home.html', {})
    })
    // router.get('/logout', function(req, res, next) {
    //     req.session.destroy(err => {
    //         res.redirect('/')
    //     })
    // })
module.exports = router;